import Vue from 'vue';
import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import './theme/index.css';
import '@/assets/css/icomoon/icomoon.css';
import App from './App.vue';
import router from './router';
import url from '@/config';
import {http, catchAppError} from '@/util';

Vue.prototype.$url = url;
Vue.prototype.$http = http;
Vue.prototype.$catch = catchAppError;

Vue.config.productionTip = false;

Vue.use(ElementUI);

new Vue({
  router,
  render: h => h(App)
}).$mount('#app');
